package org.com.andy.domain.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

@Data
public class FlowStartDto implements Serializable {


    /**
     * 流程定义id
     */
    private String procDefId;

    /**
     * 流程定义Key
     */
    private String procDefKey;

    /**
     * 业务key
     */
    private String businessKey;

    /**
     * 业务key
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date dueDate;

    /**
     * 变量集合
     */
    private Map<String, Object> variables;
}
